package com.zeratul.common.lock.codes;

import com.zeratul.common.core.result.codes.ResultCodes;
import lombok.Getter;

/**
 * 分布式锁响应枚举
 */
@Getter
public class LockResultCodes extends ResultCodes {

    public LockResultCodes(Integer code, String message) {
        super(code, message);
    }

    /**
     * 未获得锁资源，业务执行失败
     */
    public static final LockResultCodes NOT_GET_LOCK = new LockResultCodes(13000, "未获得锁资源，业务执行失败");
}
